using System;
using System.Collections.Generic;
using System.Text;

namespace OgilvyOne.Model
{
    public class FuncInfo
    {
        // Fields
        private int iFunction_UID;
        private DateTime sFunction_Create_Date;
        private string sFunction_Desc;
        private string sFunction_Name;
        private DateTime sFunction_Update_Date;
        private string sIsDel;

        // Methods
        public FuncInfo()
        {
        }

        public FuncInfo(string Function_Name, string Function_Desc)
            : this(0, Function_Name, Function_Desc, DateTime.Now, DateTime.Now, "0")
        {
        }

        public FuncInfo(int Function_UID, string Function_Name, string Function_Desc)
            : this(Function_UID, Function_Name, Function_Desc, DateTime.Now, DateTime.Now, "0")
        {
        }

        public FuncInfo(string Function_Name, string Function_Desc, DateTime Function_Create_Date, DateTime Function_Update_Date)
            : this(0, Function_Name, Function_Desc, Function_Create_Date, Function_Update_Date, "0")
        {
        }

        public FuncInfo(string Function_Name, string Function_Desc, DateTime Function_Create_Date, DateTime Function_Update_Date, string IsDel)
            : this(0, Function_Name, Function_Desc, Function_Create_Date, Function_Update_Date, IsDel)
        {
        }

        public FuncInfo(int Function_UID, string Function_Name, string Function_Desc, DateTime Function_Create_Date, DateTime Function_Update_Date, string IsDel)
        {
            this.iFunction_UID = Function_UID;
            this.sFunction_Name = Function_Name;
            this.sFunction_Desc = Function_Desc;
            this.sFunction_Create_Date = Function_Create_Date;
            this.sFunction_Update_Date = Function_Update_Date;
            this.sIsDel = IsDel;
        }

        // Properties
        public DateTime Function_Create_Date
        {
            get
            {
                return this.sFunction_Create_Date;
            }
        }

        public string Function_Desc
        {
            get
            {
                return this.sFunction_Desc;
            }
        }

        public string Function_Name
        {
            get
            {
                return this.sFunction_Name;
            }
        }

        public int Function_UID
        {
            get
            {
                return this.iFunction_UID;
            }
        }

        public DateTime Function_Update_Date
        {
            get
            {
                return this.sFunction_Update_Date;
            }
        }

        public string IsDel
        {
            get
            {
                return this.sIsDel;
            }
        }

    }
}
